package com.hmall.pay.strategy;

import com.hmall.pay.domain.dto.PayOrderFormDTO;

/**
 * 抽象支付方式策略类
 */
public interface PaymentMethod{


	/**
	 * 获取数据
	 * @param payOrderFormDTO 传入的参数
	 * 		0:余额
	 * 	    1:支付宝
	 * 		2:微信支付
	 */
	void pay(PayOrderFormDTO payOrderFormDTO);
//	void tryPayOrderByBalance(PayOrderFormDTO payOrderFormDTO);
}
